number = 23
runing = True
while runing:
    guess = int(input("兄弟,猜大小;\n 随便数个数吧:"))
    if guess == number:
        print('you are right')
        runing = False
    elif guess < number:
        print('太小了')  
    else:  
        print('太大了')  

else:
    print('你开心就好')

   
    ###
    # while 语句可以在条件为真的情况下循环执行代码
    # else 条件可以循环子句
    # 震惊了! while 后面竟然可以使用 else 子句!
